/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.railway.classes;

/**
 *
 * @author Moofie
 */
public class  Ticket {
    private static String referenceNo;
    private static String seatNo;
    private static String shid;
    private static String bookedDate;
    private static double ticketPrice = 0;
    private static int noTickets = 0;
    private static double total = 0;
    private static double discount = 0;
    private static String depatureTime = null;
    private static String origin = null;
    private static String destination = null;
    private static String classes = null;
    private static String discountId = "1";
    private static String status = "PAD";

    public Ticket() {

    }

    public static String getShid() {
        return shid;
    }

    public static void setShid(String shid) {
        Ticket.shid = shid;
    }

    public static String getBookedDate() {
        return bookedDate;
    }

    public static void setBookedDate(String bookedDate) {
        Ticket.bookedDate = bookedDate;
    }

    public static double getTicketPrice() {
        return ticketPrice;
    }

    public static void setTicketPrice(double ticketPrice) {
        Ticket.ticketPrice = ticketPrice;
    }

    public static int getNoTickets() {
        return noTickets;
    }

    public static void setNoTickets(int noTickets) {
        Ticket.noTickets = noTickets;
    }

    public static double getTotal() {
        return total;
    }

    public static void setTotal(double total) {
        Ticket.total = total;
    }

    public static double getDiscount() {
        return discount;
    }

    public static void setDiscount(double discount) {
        Ticket.discount = discount;
    }

    public static String getDepatureTime() {
        return depatureTime;
    }

    public static void setDepatureTime(String depatureTime) {
        Ticket.depatureTime = depatureTime;
    }

    public static String getOrigin() {
        return origin;
    }

    public static void setOrigin(String origin) {
        Ticket.origin = origin;
    }

    public static String getDestination() {
        return destination;
    }

    public static void setDestination(String destination) {
        Ticket.destination = destination;
    }

    public static String getClasses() {
        return classes;
    }

    public static void setClasses(String classes) {
        Ticket.classes = classes;
    }

    public static String getDiscountId() {
        return discountId;
    }

    public static void setDiscountId(String discountId) {
        Ticket.discountId = discountId;
    }

    public static String getStatus() {
        return status;
    }

    public static void setStatus(String status) {
        Ticket.status = status;
    }

    public static String getReferenceNo() {
        return referenceNo;
    }

    public static void setReferenceNo(String referenceNo) {
        Ticket.referenceNo = referenceNo;
    }

    public static String getSeatNo() {
        return seatNo;
    }

    public static void setSeatNo(String seatNo) {
        Ticket.seatNo = seatNo;
    }

    

    
    

}
